package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SequenceGeneratorCycleOption implements BasicSequenceGeneratorOption {

    private int beginIndex;
    private int endIndex;
    private boolean no;

    public SequenceGeneratorCycleOption(int beginIndex, int endIndex, boolean no) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.no = no;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isNo() {
        return no;
    }

}
